Reformatted source code, fixed unused function arg warning, updates jshint version