Moved back script to head tag