changed analysis.js for direct mode.  Now absolute path of an analysis file can be given to analysis.js in direct mode.