Refactoring out the dom element creation part of rows to support unix-time row