put scripts in the head element