fix JS dependencies