Thanks for the feedback @fabi1cazenave and @KevinGrandon :-)

I talked this over with @mikehenrty on Friday, and refactored my code to load the main panel JS after the app is finished loading (by hooking into the mozL10n.ready callback).