Mockjax implementation