Add es5 compatibility shims for legacy JS engines (e.g.: IE8)