added compiled templates to ui, renamed files for valid JS identifiers