updated javascript libs and typescript defs