Paloma.controller = { /* Put here code which can be used by all callbacks under the controller folder. Example: variableName: value; functionName: function(params){ alert('Paloma'); }; To use the variable and function: Paloma.controller.variableName Paloma.controller.functionName(params); */ };