ECMAScript 5 compatibility for legacy JavaScript engines.