Fixed url letter cases in js