Ensure invoke element is settable in the right mode, and ensure that classes are not stripped when invoking, as we use class.
Merge remote-tracking branch 'origin/1.x' into 1.x

Conflicts:
	medium.js