How can I launch a javascript from an