Formatting is accomplished with simple HTML.
You can transfer the 'javascript' code to an external file to minify your page size.