Placing JavaScript in the header