Fix positioning bug when html is minified

Make doctype regex less greedy, otherwise it may inject in an illegal place.
Merge pull request #50 from eirikurn/patch-1

Fix injection bug when html is minified