fix duplicate transition
add js libs locally