Lightweight date library for javascript