Fixed loading treeview as AMD-module