The JavaScript template should be parsable in order to pass linter validations and be able to minified with automated code minifiers.
This is currently not possible as the attribute placeholders are surrounded by percent (%) characters.
This is a recommended and very common requirement which might prevent using the solution in certain scenarios.