moving getLocation.js to new namespace format