Output numbering system in php before the javascript