Factor out character dialog to character.js
Untabify