diff --git a/js/app/views/PlotComponents/intervalSelection/PlotFunctionIntervalSelection.js b/js/app/views/PlotComponents/intervalSelection/PlotFunctionIntervalSelection.js
index ca08de3..d8cdd9e 100644
--- a/js/app/views/PlotComponents/intervalSelection/PlotFunctionIntervalSelection.js
+++ b/js/app/views/PlotComponents/intervalSelection/PlotFunctionIntervalSelection.js
@@ -24,9 +24,7 @@ Ext.define('amdaPlotComp.intervalSelection.PlotFunctionIntervalSelection', {
         if (this._notValidValues()) {
             myDesktopApp.warningMsg('Please note that either the Start Time or the Stop Time has not been defined. To proceed, ensure both times are properly set.');
         } else {
-            let request_to_send = {};
-            request_to_send = Object.assign({}, this.plotFunctionType.getValues());
-            request_to_send = Object.assign({}, request_to_send, {
+            const request_to_send = Object.assign({}, this.plotFunctionType.getValues(), {
                 'action': 'plotFunction',
                 'interactiveId': this.interactiveId,
                 'panelId': this.panelId,
--
libgit2 0.21.2