Fix links, don't load unnecessary JS