adding getDataUrl method
Merge pull request #79 from mrkrstphr/get-data-url

adding getDataUrl method