fixing spooky javascript erorr on idex. no idea what caused it
event creation seems to work succesfully
minor ui update to event