Fixed a bug in utils.getHashParams

window.location.href