Solve circular dependency between theme-tpl-tag and theme-app, so that
we can use both in functions.js.