Fix to the parseURL function so it works when using hash based paths.
Merge pull request #270 from daner/Manifest_location_fix

Fix to the parseURL function so it works when using hash based paths.