Cleanup of jquery handler.