Add a few phpdoc comments
Fix using the html element ID twice