What are Javascript redirects?
Because the content of JavaScript is generally inaccessible to search engines, embedding a link in JavaScript will redirect the user to a different page than the one seen by the spider. Using JavaScript in itself is an entirely legitimate web practice, but using it with the intention to deceive search engines is not. Because it shows different content to users and spiders the visitor often ends up somewhere they didn’t intend to go, and the search engines will index the original page rather than following the link.