Fix links error and js bug

no issue