Coffee cleanup

* `.coffee` files cleaned
* redundant `underscore` dependency removed
* logging flag added; disabled by default
* most changes in `.js` files are due to the changes in coffee compiler