replaced event-emitter with wolfy87-eventemitter for browser convenience, integrated ajax and serialized libs into the lib