Adding nojs class to all templates