JS syntax error in lessons.js