Split into different playback js