added ajax to resume pdf