updates for js in comapre files