dates that span and apply
Merge pull request #351 from nrn/master

Switch action handling to array methods.
Update to new factory.js style