add configurable timeout from .mockTimeout to simulate ajax