JS fix

Bad syntax.
Task edit #2.

Values from the joined tables.