Reworked State.js changed playback.js to match