slimmed things down even further; included updated rem.js polyfill