Updated to parse key/value pairs in the URL hash