Only injects code into the first occurrence of <head> tags