fixed urls in js & templates