lib/datatables: Removed unused/commented code
map-click-handler.js: Avoid unnecessary array lookups