This extension adds a context menu to Safari 5. Right-click (command-click) on any .js or .json page and this extension will automatically make that code prettier.
This extension only works with Safari 5+.
Visit any .js or .json webpage. Right-click (command-click) and select JS Beautify.