Fixed editor JavaScript error in TemplateManager
Fixed editor JavaScript error in TemplateManager

- Caused when loading the editor with no templates in the system.
- Tried to init a search box that did not exist.

BookStackApp/BookStack,BookStackApp/BookStack,BookStackApp/BookStack