remove head.js loader and use modernizr's resource loader instead