clean the code, and change the way of calling js method
clean the code, and change the way of calling js method

dacsunlimited/dac_play,bitsuperlab/cpp-play,dacsunlimited/dac_play,bitsuperlab/cpp-play,dacsunlimited/dac_play,dacsunlimited/dac_play,dacsunlimited/dac_play,bitsuperlab/cpp-play,dacsunlimited/dac_play,bitsuperlab/cpp-play,bitsuperlab/cpp-play,bitsuperlab/cpp-play