Bugfix: Update function name in js-mode.

Closes #126