fixed code mirror require error