Fixed mCCT JavaScript bug