Bug 885277 - Fix animation timing and resetAnimation in the presence of changing animationMode. r=seth
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv