added /abs/path/settings.json handling

before this path, one could only supply a relative path like:
 --settings ../relative/path/settings.js
now one can also use it with absolute paths like:
 --settings /abs/path/settings.json
Please add brackets around if and else to match our coding style