Make method onchange() recursively apply onchange methods (old and new api)