This should avoid the issue caused by new behavior of ES6 "const". See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902