Implements more compatible iteration

For those lovely older browsers

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>