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.How to embed a link in javascript?