Your function is under global(window) object. I mean,
function abc()
{
alert(this);
}
abc();
// or You can either call by
window.abc()
You can write your function under custom object
// Function under custom object
var customObj = {
abc : function () {
alert(this);
}
};
customObj.abc()