Url parser for nodejs