almost empty-headed, loading required .js file in phases (and in parallel within the phase)