Instead of storing function calls as strings in 'data-action' attr, now we store the index of the dropOption in the html element.  This allows for calling functions which are nested in objects.