js/flight: Added basic playback functions