[minor] Append a missing semi-colon

The function is transformed from a function declaration in to an expression.