move to IS_POPUP_VAR from admin.options for 1.6 compat. Also, fix JS for using MarkItUp preview and MM window correctly