Use a namespace and a closure for your code/application.
Something like this:
(function (global) {
var MYAPP = {};
MYAPP.linkClick = function () ....
global.MYAPP = MYAPP;
})(this);
Then whenever you need linkClick
, you use MYAPP.linkClick
and it does not get mixed with other names.
This way you avoid name collisions.