Fixed advanced editor not working due to cheatsheet undefined.
STUD-1514
Merge pull request #3514 from edx/waheed/stud1514-toggle-cheatsheet-not-working

Fixed advanced editor not working due to cheatsheet undefined.