fixing unused script in head