Fix exception is thrown when the header tag is added (#238)
Fix exception is thrown when the header tag is added (#238)

This fixes #237

Inject script to 'head' tag only.

* Tweak regex to handle attributes in head tag

TimBarham/cordova-simulate,Microsoft/taco-simulate-server,Microsoft/taco-simulate-server,TimBarham/cordova-simulate