Changed way location.js handles when location is denied.