Use own Common.indexOf method for IE 6-8 compatibility