Removed unnecessary ajax