moved weather and dimmer builders to js