Trigger some very fast JS events in a more efficient manner