fix watch.js on nonstandard paths; fixes vichan-devel#38

this commit also adds a modRoot js variable that makes proper
modlinks. also fixed in watch.js