Associating JS assignment