safified editable.js value handling