fix js lib references