Added missing file tree JS and fixed $root notice