I suggest trying to evaluate your application using the debugging functionality within the Emulate, Test or Debug tab. When mixing manual code with the designed-created code, you will have to try multiple id configurations as the design-created code creates nested elements.
It looks like your App Framework JS files are not getting loaded. Are you trying to load them via a CDN or other network location? Make sure they are local files in your app project directory (within the www folder) and load them as local files in index.html file, do not load them over the network.
This is a new project created from a blank template in XDK. I gave not changed anything or done anything different from any other project. All files are located locally on the dev PC.