adding dependencyless Events module adapted from Backbonejs