Added ajax request in library