Changes to status handler in demo ajax