Refactoring audio.js into a sound library.