Adjusted AJAX success calls

Makes the website a bit more smoother