Revert "Added functions to map-helpers"

This reverts commit 1368a69b8989ad315d3db3021d2512d376c10523.
Revert "Added tests for map-helpers.js"

This reverts commit 0025589110507f29626539298b59de00f34c5577.