Add workarounds for Firefox extension submission.
Firefox extensions are submitted to static code analysis. In this analysis, some features are flagged and some are fixed by this commit:
- eval() is not allowed. it is replaced by evil(). Only dead code refers to it.
- the variable 'windows' is renamed to 'mywindow'.
- setTimeout calls a literal function instead of a function variable.