update style and js link