Add EventManager File

Added the main event manager js file.