Fix "c++" code in js