Fixes for unix and phantomjs

* Fixed eventemitter requires
* Removed bind from the codebase