Migrated triggers into Fayde namespace and into 1 js file.