Lade...

onAccept : function() { $.when( $.getScript( "/kundenportal/js/gmaps.js" ), $.getScript( "/kundenportal/js/maplace.min.js" ), $.Deferred(function( deferred ){ $( deferred.resolve ); }) ).done(function(){ initMaps(); }); }