First working version of pdf2png cordova plugin