Expected Declaration or statement at end of Input
May be wrong:
1. A function or variable is not declared before it is used.
2. A parenthesis is missing somewhere.