fixed JS developer C++ compile issue