Added ability to insert javascript into header