update workflow and javascript

improved button actions. Commited logic of data manipulation. New
workflow with grund and minimised css and javascript