Added ui.js to list of JS files
Removed pretty-printing for optimizeJS
Modified JS call to prevent name-destruction from Closure compiler
Corrected JS loading and HTML structure