correction url in js