fixed js and css ref issue