adds weather module properly to main javascript file