Switching to use has.js if it exists