fixed map_gen js file paths