cleaned up javascript
Removed logger output