MathJax failing to render, type in the answer

You can add another field replacement to the template, without the type: filter. See Field Replacements - Anki Manual.

You can also use Memrise card template [support thread].