Api client: some small fixes

Fixed:
* when going to the page /api/V1/client you will get a "Please provide an existing template." Exception error.
* error loading Client.js