changes to audio injector for overlapped sounds in preparation for JS

- closes #1391