removed Ajax call and added Mockjax