fixed incorrect linking between html and js files