Easy Key-Value pair in javascript (HashMap)