Refactored the Spotify code

Reflected the changes in app.js as well. Now there's just a single
getArtistAsync function