add javascript to so submit link