trying to fix the js-file not loading correctly from index??