Use indexOf() instead of includes for backwards compatibility support