JS backend: correct hierarchy for collections in kotlin_lib.js, maps.js