js files location bug fix