clicking reloads the page
add draw route, remove error function from $.ajax