Formatting: Clean up and run JSHint

Fixed missing semicolons, added whitespace, general cleanup.
Formatting: Convert tabs to spaces

!!!!!!!!!!!
Administrivia: Adding a license (MIT)