adjust afterdark.html