Fix: Do not use deprecated function
New: ajax constant on off can be reversed