Array#indexOf doesn't exist on IE8, you need to use indexOf() helper fn we have