Apart from not duplicating code, this allows us to move all loading to the core's ready() method, which ensures the code runs before thirs-party apps rely on it.
ready()