     retro.player.destination.gain.value = 0
     document.getElementById('mute').textContent = 'unmute'
   window.resume()
-document.getElementById('mute').addEventListener(window.mute)
+document.getElementById('mute').addEventListener 'click', window.mute
 
 window.save = ->
   a = document.createElement 'a'

  reader.readAsArrayBuffer file
window.load = ->
  savechooser.click()
document.getElementById('load').addEventListener(window.load)

chooser = document.getElementById 'chooser'
chooser.addEventListener 'change', ->

  a.download = retro.md5 + '.' + retro.name + '.sav'
  a.click()
  URL.revokeObjectURL url
document.getElementById('save').addEventListener 'click', window.save

savechooser = document.getElementById 'savechooser'
savechooser.addEventListener 'change', ->
