fixed " resource interpreted as script " by modifying the content type returned from the server