changed result type in select_type js