cleaning up audioutils.js