changed it to use the glue code
Fixed the bug
Update uitest_chaotic.html
Fixed a bug in main.js
a