Remove redirect on ajax query