Update code files to pass jshint again. Ignore test script file

Updated the few pieces of code that no longer pass jshint