add location.href fallback for safari
Merge pull request #99 from eugene-ku/master

add location.href fallback for safari