Add es3: true to test/.jshintrc. Make tests conform to that jsHint setting.