Build slim versions of has.js or use has.js on the server to optimize your code.