Trying to move getHashParams to utils.js