requirejs, because it should handle load order better than hacking it up myself.

Need to take notes on setting up IntelliJ JavaScript debugger with Chrome. Got it to work, but was not obvious.