custom event emitter
get javascript class name helper
inherits