Move serendipity_html5time definition to usual function scope for better structure