Array.prototype shims for IE<9 (sure I put these in before but they must have fallen off somewhere