js figured out