removed redundant code in cloze template js file