fix a problem with isJSClient for the serveradmin console.
service openpetra-server menu showed an exception.
move change of template from jsclient patch to remoting patch