Added date and time js example file