damn you toDataUrl vs toDataURL