add quiz save and end lesson js