fixed css and js for events in initializers