Update javascript
Update demo