I'm currently building a web app using the Spotify API and the nodejs wrapper for it... However, when I am using $.getJSON(), the .then is firing before the promise is resolved. For example, I am trying to change the album artwork displayed on my webpage, after I skip to the next song. However, the artwork is changing first, before the song and so the artwork is always of the previous song... My code is below. I'm currently building a web app using the Spot