fixes #662 es3 compat tests