cleanup: remove debug output

* remove *console.log()* debug output
* cleanup coding style