var Test = (function () {
        function _insert() {
            console.log(this);
            $("#a").html(this.text);
        }
        
        function Test() {
            this.text = 'PokusnĂ˝ text';
        }
        
        Test.prototype.run = function () {
            _insert.call(this);
        };
        
        return Test;
        })();


        $(document).ready(function(){

            var x = new Test();
            x.run();

        });