add renderType config
fixed render bug
update demo
grunt