Mail to JS code

Add some js code to simulate the mailto link