Add snippet even if there is no "</body>" in the html

I've simple webpage with no `<head>` or `<body>` since it's not required. This tiny update add the livereload snippet even if there is no body close tag.