Form submit changed to Javascript