replace has.js lib, with immediately invoke function on the top of config.js file