Add gif rendering example
Add canvas tool class
Fix jshint error