Receiver: architecture changes, put functions outside document.ready, add YouTube player initialisation when API ready