A JavaScript URL parser : allmarkedup/purl