Mark templates as javascript