prettified c++ and js