Implement RequireJS, loadPartials, still lot of debug logs