finally(?) fixed issue with shimming external libraries jquery and codemirror