Note that $(window).trigger() is special, close gh-298.