Fixed relative urls in JS