updated javascript
fixed javascript
Finish demo app