jshint corrections (to make travis tests pass)