do not include javascript if the snippet is not email snippet