simplify: split readyHandlers array in two

one for onContentReady, one for onElement*