update js core code