moving root.js up the directory tree