replaced the array.map polyfill with the official version from MDN
Removed trailing commas, added semis where appropriate
Merge pull request #65 from zeroedin-bill/lint-cleanup

Linted and replaced array.map polyfill with the proper version from MDN