Javascript Get Url Before Query String Npm Axios Install