fix markdown js breaking when the editor js isn't loaded