Refactor the JavaScript styleguide

So that it is clearer how to to add things in the future refactor the
current guide.
Merge pull request #24 from alphagov/refactor-js-styleguide

Refactor the JavaScript styleguide