New cxxcam
Port C++ tests to js