fix 'webkitURL' type error in Firefox

webkitURL doesn't exist in Firefox