separated html and js files