Alternative fixes for some JS warnings
This MR provides alternative fixes for some of the warnings addressed by !4 (closed), in a way that avoids the "destroy handler pattern" violation pointed out in !8 (merged).
This MR provides alternative fixes for some of the warnings addressed by !4 (closed), in a way that avoids the "destroy handler pattern" violation pointed out in !8 (merged).