common js library