Form runs slow, submit button not working