Finished dialogue for Terernce.js

Could use some checking over to make sure it's what you guys want.