Compile all file paths before daemonizing so they point to the right place
read JS into memory in one line instead of using a temp var