adding shims for non es5 environments