solve one issue with javascript selector