attempting to fix a problem reading the javascript file