Added polyfill for map function. Added camelCased, swapCase and trimWithin functions