fix url for js