use readyState to determine audio load
fix potential console issues