added application.js
added undo tool to toolbar
undo functionality for all elements