TinyMCE 4.0 compatibility. Props azaozz.

See https://plugins.trac.wordpress.org/ticket/2158