Update History.js, error el is not defined

I assume that "el" was meant to be "target" in this instance? "el" does not exist in the function.