Fixed AJAX speed issue