new index and maps_lib.js