Added undefined check on tinyMCE.

Since upgrading to 1.2, I consistently get "tinyMCE is not defined"
errors. This check resolves these errors.