Renamed emit to trigger to be compatible with jQuery. Less to remember