Microphone plugin wavesurfer.js

I need help!

I posted an Audio Player Project based on wavesurfer js which function perfectly. See https://github.com/esischool/Waveform-Audio-Player-and-Recorder  and http://conquerspanish.com/audio-player/index.html

But I need help on how to insert an option to record the voice of a person so he or she can see the waveform when playing back the recording.

My problem is that I have little programming skills because I am a teacher not a developer and need this project for my classes.

Thank you in advance