adding js events triggers ; adding new service definition