fixed global scope. when you use global var, then keyword "var" is not added to variable.
fixed issue #45: created VAR converter. some code will be incompatabile. I must rewrited some tests, but when I was changed php private fields to js global fields, this is required. see
https://github.com/tito100/PHP-to-Javascript/commit/f6d962d7c19e1aefcb2c49097fbfb7a38c655757