more rebust js_mappings_metadata