use a class instead of an id for naming the pdf iframe
add frontend code for tracking pdf progress