Refactors css to center .events and js to accommodate action properties in data