Fix lesson plan js error