Create locationservice.js