Added javascript url generator