Node module, to compare URL's and return full path