Some fixes and clear behaviour

1. added: images to package.js
2. fixed: doSaveTransition
3. added: clear behaviour for input