Clean version

- replaced key press with key up
- removed <form> tags around <input>
- error message displays correctly & page no longer reloads