moves requirejs script into head