     link.text = response.copyright
 
   aberigle.api.lastfm.getNowPlaying "jayle23", (track) ->
-    unless drawTrack(track)
-      aberigle.api.image.getImage drawImage
+    unless drawTrack(track) then aberigle.api.image.getImage drawImage

    @_get url, (response) ->
      response = JSON.parse(response.response).recenttracks
      if response.track? and isArray response.track
        callback? response.track[0]
      else callback?()

window.aberigle = aberigle = {}
aberigle.api =


  drawTrack = (track) ->
    unless track? then return false
    imageUrl = track.image[track.image.length - 1]["#text"]
    if imageUrl is "" then return false
    background.style.backgroundImage = "url(#{imageUrl})"

    link = copyright.children[1]
    link.text = track.name + " - " + track.artist["#text"]
    link.href = "http://www.last.fm/user/Jayle23"

    equalizer = copyright.children[0]
    equalizer.src = './static/images/equalizer.gif'

