Add baseurl in js in footer