 
 changeTheme = (url) ->
 
-    # Make sure the value stored in localStorage actually is a theme we can use
-    # and 'select' the theme in the dropdown box.
+    # Make sure the value stored in localStorage actually is a theme we can use.
     el = $('option', '#themeSelector').filter(->
         $(this).val() is url
     )[0]
 
     return unless el?
 
+    # Set it as the selected value.
     $ el
         .attr 'selected', true
 

        .off()
        .on 'change', ->

            val = parseInt($(this).val(), 10)
            increment = val - previous
            previous = val

            $('#song').fadeOut FADE_TIME, ->

                $ '.verse.chords'
                    .each (i) ->
                        line = $(@).text()
                        line = transposeLine line, increment
                        $(@).html line



transposeLine = (line, increment) ->
    line.replace /\S+/g, (match) -> transposeChord match, increment


# This method is based mostly off of this SO answer http://stackoverflow.com/a/7936871.
