Safari doesn't have a window.URL API but it does have a window.webkitURL API. Use that if it's there.
Merge pull request #3 from cellofellow/patch-1

Safari doesn't have a window.URL API but it does have a window.webkitURL...