adding empty text and js