update javascript to allow urls without scheme - SYSMO-1643

for batch upload