Pass 'this' to lua functions
repl: Use textContent instead of innerHTML