Updated to catch style tags in the head

Updated to catch style tags in the head.