Shim to use Joi in the browser with Browserify