Removing ajax request so that page loads faster