Getting a variable inside foreach from PHP to JS after localization

You have wp_enqueue_script( 'showMake' ); twice. Remove the last line from your sdm_load_javascript_files function and see if it works.