update C++-JavaScript