Converted "Add Web URL" to ajax call
Refactored URL parsing