Insert Variable Into String Cpp Functions In Javascript