Javascript Insert Variable Into Html To Pdf