ajax to sockets

changed the ajax call to update the playlist to use sockets instead