Javascript library for updating timestamps