fixed some urls in js file