move requirejs to head.php