removing indexOf in navigables for ie8 support