Fix links and js