changed form to bootstrap-friendly and submit on enter