implemented tobis suggestions for a cleaner pull request
Merge branch 'hotfix-table-resize' of github.com:cprerovsky/Aloha-Editor into hotfix-table-resize