fix path to mapquest api and location.host