change the hack to close the object tag.  perhaps thats what breaks nbviewer?