Scratch.js is a standalone library which brings interactivity to your website by allowing you to generate scratch cards for your visitors. Based on HTML5, scratch.js generate canvas on the fly and is optimized for all modern browsers and has touch support for mobile devices. You can use it to make scratch cards, coupons, promotionnal game and even advertisement.
ADDED: Flash fallback for the browsers which don't support the html5 canvas tag
FIXED: A scroll bug on Windows Phones
FIXED: A bug where the counter function was triggered when the page was loaded
FIXED: A bug with the API restart function