commit of associating js