fixed issue https://github.com/Danack/PHP-to-Javascript/issues/33 and https://github.com/Danack/PHP-to-Javascript/issues/27
in js is impossible make private properties or methods