use async script injection

With this PR weinre script is injected by dynamically generating it (much like Facebook and Twitter SDKs).

This way server host URL is based on browser `location.host` which is more flexible than passing it as an option  (which anyway is used as a fallback)