Add nib and canvas supporting.

http://visionmedia.github.io/nib/