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

Linted and replaced array.map polyfill with the proper version from MDN
Merge pull request #66 from zeroedin-bill/logic-fix-sort-direction

Fixed incorrect logic in getCurrentSort method