Feature/text entry lang

@swarajban, @jagill, check it out when you have a chance
Ya, use typeof when you're entirely not sure. I'm not sure what's better in practice. I'm actually all for using coffeescript for any tools we build internally in the future for this exact reason (for example code, I think we gotta stay JS)