Added JSDocs to some URL lib functions