Fix missing Array.indexOf for ie7 (issue #14)