Create a new variable within the parent function:var me = this;use 'me' in new function
Example:
function parentFunction() {
this.message = 'Hello World!'; var me = this; var childFunction = function() { alert(me.message); }
childFunction();
}