separated html and js files into different directories