Adding PDF from jQuery class 2