use arrayUtil.indexOf() instead of array.indexOf() method, as older
browser like IE8 not support it.