fix path issues referring to js and css files