timepiece.js fixes from review