fixed js and css reference 500 error