Optimized code with Requirejs and added text editor to Answer TextArea.