Added JS to distribution of work