remove definitions of unused variables

Version 0.9.62 of JSX compiler introduces "unused" warnings to detect unused variables, and thus there are some unused variables found in this project.

This pull-req removes unused variables although I'm not sure it's correct. Thanks.