js script to manage mailto links