XPathTemplatableList - refactored editer controller js to use two arrays of option objects, rather than a single string array of selected keys