Inline editor using HTML5 contenteditable and JS