some listeners calls were missing when setting content on a webpage

Closes #143