Implement ajax request