fix lesson javascript to display div