use reqwest instead of jquery