use indexof component for ie8 and below
Merge pull request #157 from goinstant/indexof

use indexof component for ie8 and below