added Ryan audio detection code to OT.js updated version.