fixing path for modules in html and js files