fix js lib