Make input-area.js Firefox compatible #39