fixed javascript documentation
fixed relative path to configuration file
fixed 'defined in' removing absolute path
Merge pull request #310 from LorenzoBoccaccia/source-fixes

fixed javascript documentation