adding lodash and a dereg func for listeners.