Add semicolon in anoynmous function