Updated script to resolve title of the song using node functions.