fixes Handlebars error

Currently a js error is raised by Handlebars whenever an empty string is passed to its `compile()` function.

```
You must pass a string or Handlebars AST to Handlebars.compile. You passed 
```

This prevents further js code to be run on the admin backend.

The problem is also in `1-3-stable`.