changes to audio injector for overlapped sounds in preparation for JS