Fixed some Javascript dependencies