Support C++/Java in index.html