adding temp support for browsers without forEach