     client.on 'datarequested', (client) ->
       client.setText($('#taskpaper-month').val())
 
-  client.on 'noFlash', () ->
+  client.on 'noFlash', ->
     $('#copy-button').hide()
     console.error('No Flash installed. Hiding the \'Copy\' button.')
 
-  client.on 'wrongFlash', () ->
+  client.on 'wrongFlash', ->
     $('#copy-button').hide()
     console.error('Wrong Flash installed. Hiding the \'Copy\' button.')

  # itemsField.on 'keyup', $.debounce(250, generateTaskPaperMonth)
  # itemsField.on 'keyup', $.debounce(250, checkForEmptyItemsField)
  itemsField.on 'keyup', generateTaskPaperMonth
  itemsField.on 'keyup', () ->
    if itemsField.val().trim() isnt ''
      emptyButton.fadeIn('fast')
    else



  # Grab parameters from URL.
  getLocationParameters = ->
    params = {}
    search = window.location.search

