access config directly from config object not options object
Merge pull request #5 from openappjs/config-bug-fix

access config directly from config object not options object