add debugPrint util function in util.js
index.js as the controller
add debug print, working in simple case
support le<=600 data length
located the problem, that not reference to this