added rjs mixing in layout template; modulairzed
removed config.js