add js lib support