removed jshint unused constraint