Javascript canvas wrapper library