updating JS library