The reason for why you are not seeing anything is that outerDiv
never becomes a part of the DOM. It's created, and the input
node is append
ed to it, but outerDiv
itself is never added to the DOM.
node.appendTo(outerDiv);
Y.one('body').append(outerDiv);
Should solve that. Check out your script with that line added.