enable C++11 in tojs