Updated to correctly work with jshint.