massive update for jquery.mockjax for frontend tests