Lint Cleanup

The JS in this project will be easier to maintain if the code follows some standardized coding practices.