require([path], function(content){ //need to catch errors as this will not be called; }, function (err) { //display error to user });