Inject js code only into valid html head tags