[js] removed debug code