Javascript parser in C++11