JS: pdf additions