Run something when a DOM element appears and when it exits
github.com/rstacruz/onmount
rstacruz/onmount