Fixed typo
Added javascript guidelines
Rephrased comment text
Added intro, file structure and comments