update common js