fix links and exclude js and css links;