extract js library