js library check