update js lib