Module weather: Fix jshint warnings; encode uri component properly