fixed location.hash check that prevented processing mediaIDs w/ as query string