Update autogrow.js

update onInit call