Hook playback buttons to js interface.