cleanup unused javascript
consider that comments may be deleted