Fixing some jshint errors