data-uri detection for can.js