initial version of playbackController.js