replace ajax query with mock service call