Used 'loadeddata' event instead of 'canplay' for audio. Should also unbind all events after loading.