Added better checking for web audio before trying to use it.