fix javascript
setup JS testing.