Comment 3 for bug 1315796

After investigation I think the most optimal is Google JavaScript Style Guide.
It is available at: https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml

There are many useful tips and recommendation how to write efficient, accurate beautiful code.

For code formatting they follow the C++ formatting rules in spirit:
https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Formatting

If we agree with some coding style, I think such information should be added into README file.