Fix boolean attributes as per HTML5 spec