fixed javascript documentation

fixed relative path to configuration file
fixed 'defined in' removing absolute path