add semicolons after function statements