Fix "Uncaught ReferenceError: data is not defined" error in removeData

Minor fix to resolve a JS error when removing data - missing `this`