Fix positioning bug when html is minified

Make doctype regex less greedy, otherwise it may inject in an illegal place. Example:

```html
<!DOCTYPE html><html><head><style>
<script>//<![CDATA[
document.write('<script src="//' + (location.hostname || 'localhost') + ':35729/livereload.js?snipver=1"><\/script>')
//]]></script>
.some-static-css {
  /* ... */
}
</style>
```