Real functional textarea modeling with canvas