JS style

Get the JS a little closer to the Mozilla Webdev Bootcamp styleguide.