Java script start function code example
Example: call local function javascript
function x() {
};
x.y = function() { alert('2');};
function z() { x.y(); }
function x() {
};
x.y = function() { alert('2');};
function z() { x.y(); }