Possible Duplicate:
Are there any coding standards for JavaScript?
Is there any guidline describes what is standard notation for naming variables\functions etc? What is best practice to write loops, conditionals, classes and other language constructions?