How do I open the javascript console in Safari 6?
Open Safari and choose Safari > Preferences > Advanced. Then select the checkbox 'Show Develop menu' in menu bar.

Choose Develop > Show Error Console.