move polyfill script to bottom of document