issue #2828 javascript binding debug.