Added js style guide

This is a first draft of a JS style guide that @robertkowalski and I put together. Feedback very welcome!
Yeah, agreed we should keep it consistent. But I prefer the no-space myself... Let the flame war begin! Wooo!!!

But seriously: what do other people prefer?