addEventListener and removeEventListener now works on the window for IE and Safari, and remove jQuery dependency in Router