Fix message in new template.xhtml

https://bugzilla.redhat.com/show_bug.cgi?id=1160651
I think you could just swap the statements and use 
```
if (zanata) {
    zanata.messages...
} else {
    jQuery(...
}
```