IE8 fixes where Class needs to be refered to window.Class, just apply it to everything
because IE8 wants it that way
use jquery .inArray rather than indexOf (for IE of course)