Fixed some JS dependencies