Some fixes in adminLTE/app/js. Fix .tree() method by hoisting the demo iife at the bottom