Add/cleanup header comments
Typechecking cleanup and spacing/paren cleanup
Fix bug if jQuery was undefined
Merge pull request #4 from EvanHahn/cleanup

Cleanup