fix jquerey check
template_engine in 2k11 is set to null, which is still set