Fix UnboundTypeError.

An error from my conversion of embind to JS library files.

The author of this patch is already in ``AUTHORS``.

cc: @chadaustin