This looks like a similar question + answers: http://stackoverflow.com/questions/11581611/load-files-in-specific-order-with-requirejs