use $.mockjax properly