fixing a typo on the README
updating gitignore to ignore vim swap files
General Cleanup

- whitespace
- variable hoisting
- using the power of jquery where relevant
decrufting some debug code
Merge pull request #1 from jtgraphic/master

Initial Cleanup