Missing function declaration for knockout.

The destroy(function() {...}) was missing inside knockout declarations.

Kind regards.