Sorting issues with JS and Maps to get it online.