Organize JS code
[2748] Restructure code for feedback session questions (JavaScript)