Fix annotation tree not loading

  The annotation tree and the loading of JSON was not working as tree.js
was not being loaded. Fixed that.