refactoring
unexpected token would be throwen:

// comment
scope of variable:

a = 1
def test():
    a = 2
    a = 3
    b = 2
 |
 v
var a = 1
function () {
    var a = 2;
    a = 3;
    var b = 2;
}
bug of state
update licence