basis list comprehension for js