js lib fix