updated Config.js from tbpl.