Quickly commented studyApp.js for clarity.