declare encoding for HTML document
fix indentation, incorrect use of 'this', add initial Safezones