Hit the expand icon and change the isDay variable to true to see what happens.
isDay
true
Make sure your code reads var lightsOn = !isDay;.
var lightsOn = !isDay;