invoke function in (function(){})();