add support for precompiled JSP-like templates