jshint didn't like the original version....