Upgrade Array

Add Array.indexOf and Array.isArray (primarily for IE8)