Update Playbar javascript