removed AJAX stuff for time being, while I get to know the app's structure