added has.js as a dependency