application.js, audioProfile.js, record.js: make encodebin functional