handle undefined state in wpia.js editable item
refactor handling of empty elements
prevent nested editable elements
finalize readme, push versions