adds javascript styleguide

Let me know what you guys think of these instructions.