js bug on identification