use reqwest for ajax instead of jquery