Improvements to the JavaScript-form on add/events/

* Includes a close button
* Switched some of the code to the equivalent jQuery code.
* The form now follows the view when the page is scrolled.