Refactor config.js
Make launch.js compliant with jslint