adds javascript styleguide

tried to tone down snobbiness