Please add "g focuses input#pageNumber field" to the comment on this line instead: https://github.com/maxsong1002/pdf.js/blob/4752de11c6f6f14452a2a5770d88ffed9ccfe771/web/viewer.js#L2000.