Fixed form submit and click events

Fixed problem with links that previously have other click event handlers
attached. Also changed to use .serialize() instead of
.serializeObject().