js judge type