Correct URL generation for js and css