Added js date converter