upgrade js library