modify javascript
typo