Demo of QiaoyuanJavaScript code