move gaq to head tag