- added log4js

 - cleaned up some code