Java Convert String Into Hashmap In Javascript W3schools