Move the UIWebViewDelegate methods to their own section
Add onerror to script tag so app can know when theres an error