Move loading script to head.