Removing app prefix from generated template because it's making it not found if only using .min.js in other project. Changed order of uglified .js files.