If you have written some user functions in the User.js or Common.js file:
//Put your custom functions and variables in this file
function doClick()
{
//...
}
When you go to the Object Tree, you'll see them listed:

If you double click on the name of the function (e.g. doClick) it will automatically navigate you to the location.