move some configurable variable of pdf2htmlEX.Viewer outside