https://sunfishempire.wordpress.com/2014/08/19/5-ways-to-use-a-javascript-hashmap/