Changed daymode setting from JS to watch