added record.js and displayAudio