Moving the JS and CSS to their own files.

* Also added a `.gitignore` file.
* Reformatted the CSS to make it readable
* Linted the JS file to some extent, only to make it readalbe