added jasmine for testing with an example, updated readme, and updated template