pdfjs: added index command