Refactor, change erb statements to javascript in tree code
Add icon to delete tag next to edit icon. fixes #16