         startx += 2 * fkw + @bkw - @kw
       when 12
         startx += 3 * fkw + 2 * @bkw - 2 * @kw
-    kt.jumpto startx, starty
+    kt.jump startx, starty
     switch ks
       when 1
         kt.fd @kh

        midikey = convertfreq f
        pressed.push midikey
        @draw midikey, Keyboard.keycolor midikey
    return callback

  keyoutline: (kt, n) ->
    # TODO: replace this with high-performance
    # canvas drawing code.
    startx = @kw *
      (Keyboard.wcp(n) - Keyboard.wcp(@center))
    starty = -@kh / 2
    # top width of the c key
    ckw = (3 * @kw - 2 * @bkw) / 3
    # top width of the f key

        kt.bk @bkh
        kt.slide -@bkw

# Export the Keyboard class as a global.
window.Keyboard = Keyboard
