remove legacy code (backup in branch 'dojo-legacy')