Adds onReady method to HyperText config