Save onContentReady and onElementReady in one array

So all handlers get orderer by priority correctly