update js reference