minor fixes
added config.js.tpl