change ajax url; change flask route