Converting mailto to javascript