Added some tests for JS implementation of HashMap
Fixed JS implementation of HashMap#putAll