Added shims/poly-fills for es5 and console objects.