linting fixes. Fixed spider & tree refs to contextPath, changed static output to seperate folder and copying data dir dependency for tree.json