js/quote-selection.js: Slightly less buggy, especially on Macs