Fix jshint errors
Closes #7