I'm about to merge this pull request now.
I wonder if `$(windows)` can be changed to `$container` here, since there might be multiple instance of pdf2htmlEX.Viewer on the same page