Update form for event types
Update gemfile. Add webkit as js engine in spec_helper. Add event types test