Log the current url
Merge pull request #6 from kjbekkelund/url

Log the current url
catch all errors inside onerror
Merge pull request #7 from kjbekkelund/trycatch

catch all errors inside onerror