update js references