More-compatible iteration

For those lovely older browsers

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>