ie8 temple badge fix

ie8 doesn't support Array.prototype.indexOf so I've added it.