Javascript URI object for manipulating uris