remove #hash from WMURL.parse().path, to match the Node.js