moved weather widget
refactored functions.js