Add use strict  to validator.js.