safified editable.js value handling

fixes #1891
I *think* just switch key and value, or change the names to something a little more clear. r- on that.