add label function into js select