converted tabs to spaces, minor js cleanups and removed dnd drop class since js tree seemed to drop support for it.