Let head.ready work with a object lit

Allows you to pass a config object to head.ready() containing label => onReady function pairs.