Dynamic Gist embedding using MutationObserver's and Promises