Revert "created ajax requests"

This reverts commit 6169d301f70d19509047fab5542a8631d53f53ed.