update js lib from master