Pdf annotations

Missing semicolon. Also, space after `if`.