You can reproduce the issue here: https://codepen.io/thdoan/pen/QWPzKPo Try typing "function go(o)" and you should end up with "function go(o))". I think there is something with the minified version that is messing it up.