Working with pdf on phonegap