convert epoch time to human-readable
small updates, working with jasmine