removed type, added multiple .ready(fn) support