gist is removing a bunch of the content on the page
don't ask me why but adding a document.write statement fixed the issue