Adds support for JQM template