Merge pull request #225 from garfield69/angular

fix for #157
Free up a little more storage from calendar.js for #219

(related to my deleteDuplicates code)