Update javascript guide
Add self-documentation to js styleguide
Merge pull request #1209 from alphagov/update-contributing-guide-javascript-changes

Update contributing guide javascript changes