Now, layerTimeStr could be undefined. Before, it was always defined, sometimes empty string. I don't know if this is problematic or not, just wanted to point it out.