Issue #14 - added polyfill for Array.map