adding GET request for jquery and vanilla js