add example dir and autoSize on TextField.js