Eliminated jshint errors