get window.webkitURL to support safari.