I usually use http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml