Java Arraylist And Hashmap Javascript Code Compiler