CAL-526 update js with new html structure