Changes to pass into jshint test