fixed the js path issues