minor changes to hunt.js, location.js