added urlParser.js file