added ajax communication to the spotify app