Tiny chained ms creation util for NodeJS and browsers