updated js lib