Clean up javascript
clean up