Fixed some mistakes with paths in js files