updated javascript packages; fixed resulting build errors