Javascript client for Weather API