PDF viewer pure javascript